

var eventStatus = { 
    1: "Draft",
    2: "Published"
}

var collection = db.getSiblingDB("ClientPlatform").Event
collection.find({Status: { $type: 16 }}).forEach(function(item){

    item.Status = eventStatus[item.Status];

    collection.save(item);
})

